package com.example.associationmanager.bean;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@TableName("association_people")
public class People {//此处少了年龄项，暂命名为peopleAge
    @TableId(value = "people_number")
    private String peopleNumber;//学号
    private String peopleName;//姓名
    private String peopleGender;//性别
    private Integer peopleAge;//年龄
    private String peopleClass;//班级
    private String peoplePhone;//手机号
    private String peopleRank;//身份
    private String peopleElses;//其他信息
    private Integer communityNumber;//社团编号
    private Integer peopleStatus;//状态

    public People(String peopleNumber, String peopleName, String peopleGender, Integer peopleAge, String peopleClass, String peoplePhone, String peopleRank, String peopleElses, Integer communityNumber, Integer peopleStatus) {
        this.peopleNumber = peopleNumber;
        this.peopleName = peopleName;
        this.peopleGender = peopleGender;
        this.peopleAge = peopleAge;
        this.peopleClass = peopleClass;
        this.peoplePhone = peoplePhone;
        this.peopleRank = peopleRank;
        this.peopleElses = peopleElses;
        this.communityNumber = communityNumber;
        this.peopleStatus = peopleStatus;
    }

    public People() {
    }

}
